extends "../daiduo-2/daiduo-2.gd"


func _extInit():
	._extInit()
	lv = 3             #等级的设置
	addSkill("死亡时有50%概率满血复活", "回溯")

func _onDeath(atkInfo):
	._onDeath(atkInfo)
	if isDeath and (sys.rndPer(50) or skFlag3 and upgraded == 1):
		isDeath = false
		skFlag3 = false
		healCha(self, att.maxHp)

func _onBattleStart():
	._onBattleStart()
	skFlag3 = true

var skFlag3 = true		